home *** CD-ROM | disk | FTP | other *** search
- /*
-
- some random mode13 stuff
-
- copyright 1995 Alexander J. Russell
- All rights reserved
-
- */
-
- #ifndef DEF_13BLIT
- #define DEF_13BLIT 1
-
- #include <g_def.h>
- #include <palette.h>
-
- void put_blit(FARPTR buffer, short x, short y, short width, short height);
- void put_blit_packed(FARPTR buffer, short x, short y, short width, short height);
- void put_blit_clipped(FARPTR buffer, short x, short y, short full_width,
- short d_x, short d_y, short width, short height);
- void get_blit(FARPTR buffer, short x, short y, short width, short height);
- // void move_left(short x, short y, short width, short height, short dist);
- // void move_right(short x, short y, short width, short height, short dist);
- void put_pixel(short x, short y, BYTE color);
- void horz_line(short x, short y, short len, BYTE color);
- void vert_line(short x, short y, short len, BYTE color);
- void line(short x0, short y0, short x1, short y1, BYTE color);
- void clear_screen(BYTE color);
- void draw_rect(short x, short y, short width, short height, BYTE color);
- void wait_vert(void);
- void wait_not_vert(void);
- void page_flip(void);
-
- #endif
-